package com.adderis.soft.service;

import java.util.List;

import com.adderis.soft.domain.model.NomCommercial;

public interface INomCommercialBo {

	/**
	 * Persist a NomCommercial entity in the database
	 * 
	 * @param transientNomCommercial
	 */
	public void persist(NomCommercial transientNomCommercial);

	/**
	 * Remove a persisted NomCommercial from the database
	 * 
	 * @param persistentNomCommercial
	 */
	public void remove(NomCommercial persistentNomCommercial);

	public void remove(Integer id);

	/**
	 * Update a NomCommercial in the database
	 * 
	 * @param detachedNomCommercial
	 * @return merged NomCommercial
	 */
	public NomCommercial merge(NomCommercial detachedNomCommercial);

	/**
	 * Find a NomCommercial by id
	 * 
	 * @param id
	 * @return the found NomCommercial
	 */
	public NomCommercial findById(Integer id);

	/**
	 * Find a Nomcommercial by id
	 * 
	 * @return the found NomCommercial
	 */
	public List<NomCommercial> findAll();

	/**
	 * Search NomCommercials
	 * 
	 * @param searchString
	 * @return the found NomCommercials
	 */
	public List<NomCommercial> search(String searchString);

}
